package com.jinmdz.fmis.api.admin.model.accountuser;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 账号部门请求数据
 *
 * @author LiCongLu
 * @date 2020-03-25 16:46
 */
@ApiModel(value = "账号部门请求数据", description = "账号部门请求数据")
public class AccountDepartmentIdData extends BaseBean {

    /**
     * 用户所属部门id
     */
    @AnValidate(name = "用户所属部门id", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "用户所属部门id", name = "departmentId", position = 1)
    private Integer departmentId;

    public Integer getDepartmentId() {
        return departmentId;
    }

    public AccountDepartmentIdData setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
        return this;
    }
}
